/*
 * @Description:
 * @Version: V1.0.0
 * @Author: yangshangru yangshangru@supconit.com
 * @Date: 2024-07-31 09:52:12
 * @LastEditors: yangshangru yangshangru@supconit.com
 * @LastEditTime: 2024-08-01 18:59:42
 * @FilePath: meeting.ts
 * 2024-07-31 09:52:12
 */
const api: ApiConfig = {
  // 会议室列表
  roomList: {
    method: 'GET',
    url: '/oa/conferenceRoom/pageConferenceRoom'
  },
  // 会议室详情
  roomDetail: {
    method: 'GET',
    url: '/oa/conferenceRoom/getConferenceRoomDetail/:id'
  },
  // 会议室设施列表
  roomFacilities: {
    method: 'GET',
    url: '/oa/conferenceRoom/listFacilities'
  },
  // 新增会议室
  roomSave: {
    method: 'POST',
    url: '/oa/conferenceRoom/saveConferenceRoom'
  },
  // 修改会议室
  roomEdit: {
    method: 'POST',
    url: '/oa/conferenceRoom/updateConferenceRoom'
  },
  // 删除会议室
  roomDel: {
    method: 'POST',
    url: '/oa/conferenceRoom/deleteConferenceRoom/:id'
  },
  // 启用停用会议室
  roomStatus: {
    method: 'POST',
    url: '/oa/conferenceRoom/updateStatus/:id'
  },
  // 获取所有会议室预约信息
  roomReservationInfo: {
    method: 'GET',
    url: '/oa/conferenceRoomReservation/getConferenceRoomReservationInfo'
  },
  // 获取会议室预约详细信息
  roomReservationDetail: {
    method: 'GET',
    url: '/oa/conferenceRoomReservation/getDetail/:id'
  },
  // 保存会议室预约信息
  saveRoomReservation: {
    method: 'POST',
    url: '/oa/conferenceRoomReservation/saveConferenceRoomReservation'
  },
  // 分页获取所有会议室预约信息
  roomReservationList: {
    method: 'GET',
    url: '/oa/conferenceRoomReservation/pageConferenceRoomReservation'
  },
  // 我的用餐-撤回
  roomReservationRevoke: {
    method: 'POST',
    url: '/process/business/revokeProcessOrder'
  }
}
export default api
